@import 'uview-ui/theme.scss';
/* 颜色变量 */
$theme-color: #0bbf68;
$orange: #f5dab2;
$red: #ff5b5b;

// 字体颜色
$font-base-color: #1a1a1a;
$font-active-color: #0bbf68;
$font-dark-color: #b2b2b2;
$font-orange-color: #f5dab2;
$f: #ffffff;

$bg-base-color: #ffffff;
$bg-dark-color: #f2f2f2;
$border-color: #ededed;

$font-size-22: 22upx;
$font-size-24: 24upx;
$font-size-26: 26upx;
$font-size-28: 28upx;
$font-size-30: 30upx;
$font-size-32: 32upx;
// .uni-tabbar__icon {
//     position: relative;
//     display: inline-block;
//     margin-top: 10upx;
//     width: 36upx !important;
//     height: 36upx !important;
// }
view{
	font-size: 28upx;
	color: $font-base-color;
	max-width: 750upx;
}
// 分享按钮
.btn-share{
		background-color: #fff;
		border: none;
		border-radius: 0;
		outline: none;
		margin: 0;
		padding: 0;
		&::after{
			display: none;
		}
	}
.empty{
	margin-top: 100upx;
}
.u-list-item{
	margin: 0;
	margin-right: 20upx;
}
.u-switch__node{
	width: 50upx !important;
	height: 50upx !important;
}
.u-switch--on .u-switch__node {
    -webkit-transform: translateX(50upx) !important;
    transform: translateX(50upx) !important;
}
.u-cell_title{
	display: flex;
	align-items: center;
}
.u-content{
	text-indent: initial !important;
}
	.theme{color: $theme-color;}
	.orange{color: $font-orange-color;}
	.red{color: $red;}
	.btn{
		font-size: 32upx;
		text-align: center;
		height: 80upx;
		line-height: 80upx;
		border-radius: 80upx;
		color: $f;
		background: $font-orange-color;
		padding: 0 30upx;
	}
	.btn-theme{
		font-size: 24upx;
		text-align: center;
		height: 50upx;
		line-height: 50upx;
		border-radius: 50upx;
		color: $f;
		font-weight: bold;
		background: $theme-color;
		padding: 0 30upx;
	}
	.text-overflow {
	  max-width: 100%;
	  box-sizing: border-box;
	  overflow: hidden;
	  text-overflow: ellipsis;
	  white-space: nowrap;
	}
	.flex-base {
	  display: flex;
	  flex-direction: row;
	  justify-content: flex-start;
	  align-items: center;
	}
	.rich-text {
		line-height: 40upx;
		font-size: 28upx;
		color: $font-base-color;
		max-width: 750rpx;
		overflow: hidden;
		text-indent: initial !important;
		p{
			text-indent: initial !important;
		}
		img {
	    margin: 0 auto;
	    display: inline-block;
	    max-width: 100% !important;
		height: auto !important;
		border-radius: 10upx;
		overflow: hidden;
	  }
	}
	// 列表布局样式
	.avatar{
		width: 90upx;
		height: 90upx;
		border-radius: 100%;
		display: block;
		flex-shrink: 0;
	}
	.item-box{
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
		align-items: center;
	}
	.item-img{
		flex-shrink: 0;
	}
	.item-info{
		flex-grow: 2;
		padding: 0 20upx;
		box-sizing: border-box;
	}
	.title{
		font-size: 30upx;
		color: $font-base-color;
		font-weight: bold;
	}
	.desc{
		font-size: 24upx;
		color: $font-dark-color;
	}
	.price{
		color: $theme-color;
		font-size: 30upx;
		font-weight: bold;
	}
	.yuan:before{
	  content: '￥';
	  display: inline-block;
	  font-size: $font-size-22;
	}
	.interval {
	  height: 20upx;
	  width: 100%;
	  background: $bg-dark-color;
	}
	.content-20 {
	  padding: 20upx;
	  box-sizing: border-box;
	  width: 100%;
	}
	.footer-block {
	  height: 100upx;
	}
	.placeholder-class {
	  font-size: $font-size-28;
	  color: $font-dark-color;
	   line-height: 35upx;
	}
	.page-bg{
	  position: absolute;
	  width: 100%;
	  min-height: 100%;
	  background: $bg-dark-color;
	  left: 0;
	  top: 0;
	}
	.page-submit {
	  height: 90upx;
	  width: 100%;
	  position: fixed;
	  left: 0;
	  bottom: 0;
	  text-align: center;
	  line-height: 90upx;
	  color: #fff;
	  letter-spacing: 5upx;
	  font-size: $font-size-30;
	  background: $theme-color;
	  border: none;
	  outline: none;
	  border-radius: unset;
	  z-index: 10;
	}
	.circular-submit {
	  height: 80upx;
	  width: 300upx;
	  text-align: center;
	  line-height: 80upx;
	  color: #fff;
	  letter-spacing:5upx;
	  font-size: $font-size-30;
	  background: $theme-color !important;
	  border: none;
	  outline: none;
	  border-radius: 10upx;
	  margin: 0 auto ;
	  margin-top: 50upx;
	}
	.circular-submit-pop {
	 position: fixed;
	 left: 0;
	 right: 0;
	 bottom: 20upx;
	 margin: 0 auto;
	}
	.circular-default{
	  background: #cccccc;
	}
	.circular-tip{
	  margin-top: 35upx;
	  width: 100%;
	  text-align: center;
	  color: $theme-color;
	}
	.no-info{
		text-align: center;
		line-height: 50px;
		color: $font-dark-color;
		font-size: $font-size-24;
	}
	.link{
		display: flex;
		justify-content: flex-start;
		text{
			padding-right: 10upx;
		}
	}
	.item{
		background-color: #fff;
		padding: 20upx;
		box-sizing: border-box;
		border-radius: 10upx;
	}
	@mixin flex-base {
	  display: flex;
	  flex-direction: row;
	  justify-content: flex-start;
	  align-items: center;
	}
	.form-wrap{
		padding: 0 20upx;
		box-sizing: border-box;
	}
	.form-wrap{
		padding: 0 20upx;
		box-sizing: border-box;
		border-radius: 10upx;
		background-color: #fff;
	}
	
	.form-group{
		@include flex-base;
		height: 100upx;
		border-bottom: 1px solid $border-color;
		background: #fff;
	}
	.form-group:last-child{
		border-bottom: none;
	}
	.form-group__title{
		color: #1a1a1a;
		font-size: $font-size-28;
		flex-shrink: 0;
		width: 180upx;
	}
	.form-group__con{
		flex-grow: 2;
		height: 100%;
		box-sizing: border-box;
		overflow: hidden;
		.form-group__from{
			width: 100%;
			height: 100%;
			display: flex;
			justify-content: space-between;
			    align-items: center;
		}
	}
	.form-group__text{
		width: 100%;
		padding: 20upx 0;
		height: 200upx;
		min-height: 200upx;
		.form-group__from{
			min-height: 150upx;
			width: 100%;
			height: 100%;
		}
	}
	.form-wrap{
			.form-group__upload{
				height: auto;
			}
		}
		.require::before{
			display: inline-block;
			content: '*';
			color: #dc2626;
		}
		.form-group__upload{
			flex-wrap: wrap;
			height: auto;
			min-height: 100upx;
			padding: 20upx 0;
			
			.form-group__title{
				width: 100%;
				padding-bottom: 20upx;
			}
			.form-group__con{
				width: 100%;
				display: flex;
			}
			.upload-item{
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;
				overflow: hidden;
				height: auto;
			}
			.upload-img{
				width: 100upx;
				height: 100upx;
				flex-shrink: 0;
			}
			.upload-tip{
				color: $font-dark-color;
				font-size: $font-size-24;
				margin-top: 10rpx;
			}
		}
	.form-group__picker{
		.form-group__con{
			    display: flex;
			    justify-content: space-between;
			    align-items: center;
		}
		.form-group__from{
			position: relative;
		}
		.form-group__from>div:last-child, .sub-div{
			    width: 100%;
			    height: 100%;
			    display: flex;
			    justify-content: space-between;
			    align-items: center;
				position: absolute;
				left: 0;
				top: 0;
		}
		.picker-res{
			width: 440upx;
		}
	}
	.form-group__checkbox{
		flex-wrap: wrap;
		padding: 20upx 0;
		padding-bottom: 0;
		height: auto;
		.form-group__title{
			width: 100%;
			margin-bottom: 10upx;
		}
		.form-group__con{
			@include flex-base;
			justify-content: flex-start;
			flex-wrap: wrap;
		}
		.op{
			font-size: $font-size-28;
			color: #808080;
			background-color: $bg-dark-color;
			height: 50upx;
			border-radius: 50upx;
			margin-bottom: 20upx;
			padding: 0 20upx;
			margin-right: 20upx;
			@include flex-base;
			justify-content: center;
			transition: all 0.3s ease-in;
			border:1px solid #fff;
			box-sizing: border-box;
		}
		.op-active{
			border:1px solid $theme-color;
			background-color: #cdffe7;
			color: $theme-color;
			background-color: #cdffe7;
			font-weight: bold;
		}
		
	}
	.form-group__radio{
		.form-group__con{
			@include flex-base;
			justify-content: flex-start;
		}
		.op{
			@include flex-base;
			justify-content: flex-start;
			margin-right: 20upx;
			margin-bottom: 10upx;
		}
		.icon{
			width: 36upx;
			height: 36upx;
			display: inline-block;
			margin-right: 10upx;
		}
	}
	.ql-container{
		padding: 20upx 0;
		height: 250upx;
		box-sizing: border-box;
		min-height: initial;
	}
.section-title{
		@include flex-base;
		justify-content: space-between;
		box-sizing: border-box;
		height: 100upx;
		.section-title__title{
			font-weight: bold;
			font-size: $font-size-32;
			@include flex-base;
		}
		.section-title__title::before{
			content: '';
			display: inline-block;
			background-color: $theme-color;
			width: 6upx;
			border-radius: 10upx;
			height: 30upx;
			margin-right: 20upx;
		}
		.section-title__more{
			@include flex-base;
		}
	}
	
	

	.cell-group{
		background-color: #FFF;
		border-radius: 10upx;
		margin-bottom: 20upx;
		padding: 0 20upx;
		box-sizing: border-box;
		.cell-group__item{
			@include flex-base;
			border-bottom: 1px solid $border-color;
			padding: 20upx 0;
		}
		.cell-group__item:last-child{
			border-bottom: none;
		}
		.cell-group__title{
			line-height: 50upx;
			font-size: $font-size-32;
			width: 150upx;
			flex-shrink: 0;
		}
		.cell-group__con{
			flex-grow: 2;
			padding-left: 20upx;
			box-sizing: border-box;
		}
	}
	// 弹窗基本样式
	.pop-wrap{
		background-color: rgba(0,0,0,0.5);
		position: fixed;
		width: 100%;
		height: 100%;
		left: 0;
		top: 100%;
		opacity: 0;
		display: flex;
		align-items: flex-end;
		flex-direction: column;
		justify-content: flex-end;
		transition: all 0.3s linear;
		z-index: 10000;
		.pop-content{
			background-color: #fff;
			border-radius: 10upx 10upx 0 0;
			width: 100%;
			padding: 20upx;
			box-sizing: border-box;
			.pop-title{
				border-bottom: 1px solid $border-color;
				padding-bottom: 20upx;
				@include flex-base;
			}
			.title{
				font-size: $font-size-30;
				font-weight: bold;
				flex-grow: 2;
				text-align: center;
			}
			.options{
				padding: 20upx 0;
				@include flex-base;
				justify-content: flex-start;
				flex-wrap: wrap;
				border-bottom: 1px solid $border-color;
			}
		}
		.pop-btn{
			background: $theme-color;
			@include flex-base;
			justify-content: center;
			color: #fff;
			font-weight: bold;
			height: 80upx;
			width: 100%;
		}
		.form-group:last-child {
		   border-bottom: 1px solid $border-color;
		   margin-bottom: 20upx;
		}
		.scroll-view{
			height: 800upx;
		}
	}
	.pop-wrap-active{
		top: 0;
		opacity: 1;
	}
	
	.tab-wrap{
		background-color: #fff;
		height: 90upx;
		@include flex-base;
		justify-content: space-around;
		.tab-item{
			padding: 0 10upx;
			position: relative;
			height: 100%;
			@include flex-base;
			justify-content: center;
			.tab-item__line{
				height: 5upx;
				background-color: $theme-color;
				position: absolute;
				left: 0;
				right: 0;
				bottom: 0;
				margin: auto;
				width: 0;
				transition: all 0.2s linear;
			}
		}
		.tab-item-active{
			.tab-item__title{
				font-weight: bold;
				color: $theme-color;
			}
			.tab-item__line{
				background-color: $theme-color;
				width: 100upx;
			}
		}
	}
	.view{
		padding-left: 80upx;
		background-image: url();
		background-repeat: no-repeat;
		background-size: 24upx 17upx;
		background-position: 40upx center;
	}
	
	.page-success{
		padding-top: 100upx;
		box-sizing: border-box;
		width: 100vw;
		height: 100vh;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
	}
	.header{
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
	}
	.ico-success{
		width: 100upx;
		height: 100upx;
		border-radius: 100%;
	}
	.success-title{
		font-weight: bold;
		font-size: 34upx;
		color: #000000;
		margin: 30upx 0;
	}
	.success-desc{
		font-size: $font-size-24;
		color: $theme-color;
	}
	.success-btns{
		@include flex-base;
		margin-top: 100upx;
		.btn{
			height: 80upx;
			padding: 0 60upx;
			font-weight: bold;
		}
		.btn:nth-of-type(1){
			background-color: $theme-color;
			color: #fff;
		}
		.btn:nth-of-type(3){
			background-color: $bg-dark-color;
			color: $theme-color;
		}
	}
	.bottom{
		padding-bottom: 100upx;
		font-size: $font-size-28;
	}